import fetch from '../fetch'
// 重置密码
export const login = (params,hideLoading = false) => {
    return fetch({url: '/v1/user/codeLogin', method: 'post', data: params, hideLoading})
}
// 修改密码
export const sendCode = (params,hideLoading = true) => {
    return fetch({url: '/v1/user/sendCode', method: 'post', data: params, hideLoading})
}